Piwik\Db B

Total Complexity 100
Dependencies 14
Dependents 106
Total lines 734
Lines of code 338
Logical lines of code 206
Comment lines 351
Methods 36
Properties 5

Methods 36

Method Rating Maintainability Complexity Lines of code
optimizeTables()
A
48 13 32
segmentedFetchFirst()
S
59 6 13
lockTables()
S
58 5 16
checkBoundParametersIfInDevMode()
S
60 5 13
getDbLock()
S
58 4 15
segmentedFetchAll()
S
58 4 15
segmentedQuery()
S
60 4 13
segmentedFetchOne()
S
60 4 13
createReaderDatabaseObject()
S
57 3 17
logExtraInfoIfDeadlock()
S
62 4 10
isLockPrivilegeGranted()
S
62 3 12
isOptimizeInnoDBSupported()
S
61 3 11
deleteAllRows()
S
62 3 10
logSql()
S
66 3 7
get()
S
66 3 9
destroyDatabaseObject()
S
65 3 10
getReader()
S
67 3 9
exec()
S
59 2 14
query()
S
65 2 9
getDatabaseConfig()
S
64 2 9
fetchOne()
S
65 2 9
fetchAssoc()
S
65 2 9
fetchAll()
S
65 2 9
dropTables()
S
69 2 6
fetchRow()
S
65 2 9
unlockAllTables()
S
79 1 3
dropAllTables()
S
75 1 4
hasReaderDatabaseObject()
S
79 1 3
hasDatabaseObject()
S
79 1 3
releaseDbLock()
S
72 1 5
createDatabaseObject()
S
72 1 5
setDatabaseObject()
S
80 1 3
hasReaderConfigured()
S
74 1 4
enableQueryLog()
S
80 1 3
isQueryLogEnabled()
S
80 1 3
getTableStatus()
S
79 1 3